package com.wcs.exam.controller.admin.resp;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * Admin-考试-监控数据-人员监控-分页-响应对象
 * </p>
 *
 * @author wcs
 * @since 2025-03-31
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Admin-考试-监控数据-题目分析-分页-响应对象")
public class AdminExamDataQuestionAnalysisPageResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "题目ID")
    private Long questionId;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "难度等级(1:简单、2:一般、3:困难)")
    private Integer difficultyLevel;

    @Schema(description = "题目类型(1:单选题、2:多选题、3:判断题、4:填空题、5:简答题)")
    private Integer questionType;

    @Schema(description = "题目内容")
    private String questionTitle;

    @Schema(description = "题目答案")
    private String questionAnswer;

    @Schema(description = "题目解析")
    private String questionAnalysis;

    /*-------------------------------------------------- 拓展信息 --------------------------------------------------*/

    @Schema(description = "正确率")
    private BigDecimal correctRate;

    @Schema(description = "错误率")
    private BigDecimal errorRate;

}
